﻿// Copyright (c)  MOKEYISH. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System.Collections.Generic;

namespace NSQL.LogicalResource
{
    public interface ILogicalDatabase
    {
        IReadOnlyList<ILogicalSchema> Schemas { get; }

        void Add(ILogicalSchema schema);

        ILogicalSchema FindSchema(string schemaName);
        ILogicalTable FindTableById(int tableId);
        ILogicalColumn FindColumnById(int columnId);
    }
}